package com.vogue.supplymall.common.domain.dto.admin;

import com.vogue.supplymall.common.domain.validate.NotEmpty;
import com.vogue.supplymall.common.domain.validate.Positive;

import java.io.Serializable;
import java.util.List;

/**
 * The type Private platform info.
 *
 * @author zhangliang
 * @date Create in 2018-07-12
 */
public class PrivatePlatformInfo implements Serializable {
    private Long id;
    /**
     * 平台代号
     */
    @NotEmpty
    private String platform;
    /**
     * 私有化平台名称
     */
    @NotEmpty
    private String name;
    /**
     * 文件名
     */
    @NotEmpty
    private String filename;
    /**
     * 下载网址
     */
    @NotEmpty
    private String url;
    /**
     * 针对业务的值
     */
    private String codevalue;
    /**
     * 是否得到云供应链引流 0:否 1:是
     */
    private Integer isshow = 0;

    /**
     * 是否合并支付 0:否 1:是
     */
    private Integer paytogether;
    /**
     * 入帐方式 0:即时 1:延时
     */
    private Integer entrymode = 0;

    public Integer getPaytogether() {
        return paytogether;
    }

    public void setPaytogether(Integer paytogether) {
        this.paytogether = paytogether;
    }

    public Integer getEntrymode() {
        return entrymode;
    }

    public void setEntrymode(Integer entrymode) {
        this.entrymode = entrymode;
    }

    public Integer getIsshow() {
        return isshow;
    }

    public void setIsshow(Integer isshow) {
        this.isshow = isshow;
    }

    private List<PrivatePlatformAppInfo> appInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCodevalue() {
        return codevalue;
    }

    public void setCodevalue(String codevalue) {
        this.codevalue = codevalue;
    }

    public List<PrivatePlatformAppInfo> getAppInfo() {
        return appInfo;
    }

    public void setAppInfo(List<PrivatePlatformAppInfo> appInfo) {
        this.appInfo = appInfo;
    }
}
